package com.wuliang.generate.bean.vo.author;

import com.google.gson.annotations.Expose;
import com.wuliang.generate.common.core.basic.BaseVo;
import com.wuliang.generate.bean.entities.author.AuthorRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author WuLiang
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "前后端交互参数——认证用户")
public class AuthorRoleVo extends BaseVo<AuthorRole> {

    @Expose
    @ApiModelProperty
    private Integer authRoleId;

    @Expose
    @ApiModelProperty(name = "authRoleLevel", value = "权限级别(从0至9，高到低)", dataType = "int")
    private Integer authRoleLevel;

    @Expose
    @ApiModelProperty(name = "authRoleDescription", value = "权限描述", dataType = "String")
    private String authRoleDescription;

    @Expose
    @ApiModelProperty(name = "authRoleName", value = "权限名称", dataType = "String")
    private String authRoleName;

}
